package com.lc.question.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

//学生
@ApiModel("学生实体类")
public class Student {
    @ApiModelProperty("学号ID")
    private String stu_Id;
    @ApiModelProperty("学生密码")
    private String stu_pwd;
    @ApiModelProperty("头像")
    private String stu_head;
    @ApiModelProperty("姓名")
    private String stu_name;
    @ApiModelProperty("性别")
    private int stu_sex;
    @ApiModelProperty("学院")
    private String college;
    @ApiModelProperty("专业")
    private String major;
    @ApiModelProperty("班级")
    private String s_class;
    @ApiModelProperty("年级")
    private String grade;
    @ApiModelProperty("备注")
    private String t_text;

    @Override
    public String toString() {
        return "Student{" +
                "stu_Id='" + stu_Id + '\'' +
                ", stu_pwd='" + stu_pwd + '\'' +
                ", stu_head='" + stu_head + '\'' +
                ", stu_name='" + stu_name + '\'' +
                ", stu_sex=" + stu_sex +
                ", college='" + college + '\'' +
                ", major='" + major + '\'' +
                ", s_class='" + s_class + '\'' +
                ", grade='" + grade + '\'' +
                ", t_text='" + t_text + '\'' +
                '}';
    }

    public Student(String stu_Id, String stu_pwd, String stu_head, String stu_name, int stu_sex, String college, String major, String s_class, String grade) {
        this.stu_Id = stu_Id;
        this.stu_pwd = stu_pwd;
        this.stu_head = stu_head;
        this.stu_name = stu_name;
        this.stu_sex = stu_sex;
        this.college = college;
        this.major = major;
        this.s_class = s_class;
        this.grade = grade;
    }

    public Student(String stu_Id, String stu_pwd, String stu_head, String stu_name, int stu_sex, String college, String major, String s_class, String grade, String t_text) {
        this.stu_Id = stu_Id;
        this.stu_pwd = stu_pwd;
        this.stu_head = stu_head;
        this.stu_name = stu_name;
        this.stu_sex = stu_sex;
        this.college = college;
        this.major = major;
        this.s_class = s_class;
        this.grade = grade;
        if (t_text==null){
            this.t_text = "";
        } else{
            this.t_text = t_text;
        }

    }

    public Student() {
    }

    public String getStu_Id() {
        return stu_Id;
    }

    public void setStu_Id(String stu_Id) {
        this.stu_Id = stu_Id;
    }

    public String getStu_pwd() {
        return stu_pwd;
    }

    public void setStu_pwd(String stu_pwd) {
        this.stu_pwd = stu_pwd;
    }

    public String getStu_head() {
        return stu_head;
    }

    public void setStu_head(String stu_head) {
        this.stu_head = stu_head;
    }

    public String getStu_name() {
        return stu_name;
    }

    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }

    public int getStu_sex() {
        return stu_sex;
    }

    public void setStu_sex(int stu_sex) {
        this.stu_sex = stu_sex;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getS_class() {
        return s_class;
    }

    public void setS_class(String s_class) {
        this.s_class = s_class;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getT_text() {
        return t_text;
    }

    public void setT_text(String t_text) {
        this.t_text = t_text;
    }
}
